package com.sondon.dev_soceket.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * @Project : Java_C_Socket_Maven
 * @Package : com.sondon.model
 * @Class : Dev_Info.java
 * @Company 广州讯动网络科技有限公司
 * @Author : 蔡文锋
 * @DateTime：2015年4月23日 下午3:18:18
 * @Blog：http://blog.csdn.net/caiwenfeng_for_23
 * @Description : {设备信息类}
 */
@Entity(name = "Dev_Info")
public class Dev_Info {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private int id;
	private String Dev_SN;
	private String Dev_Statue;
	private String Dev_IP;
	private String Dev_Port;
	private String Dev_MAC;
	private String Dev_Version;
	private int Dev_Upload;
	
	/**
	 * 
	 */
	public Dev_Info() {
		super();
	}

	/**
	 * @param id
	 * @param dev_SN
	 * @param dev_Statue
	 * @param dev_IP
	 * @param dev_Port
	 * @param dev_MAC
	 * @param dev_Version
	 * @param dev_Upload
	 */
	public Dev_Info(String dev_SN, String dev_Statue, String dev_IP,
			String dev_Port, String dev_MAC, String dev_Version, int dev_Upload) {
		Dev_SN = dev_SN;
		Dev_Statue = dev_Statue;
		Dev_IP = dev_IP;
		Dev_Port = dev_Port;
		Dev_MAC = dev_MAC;
		Dev_Version = dev_Version;
		Dev_Upload = dev_Upload;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the dev_SN
	 */
	public String getDev_SN() {
		return Dev_SN;
	}

	/**
	 * @param dev_SN
	 *            the dev_SN to set
	 */
	public void setDev_SN(String dev_SN) {
		Dev_SN = dev_SN;
	}

	/**
	 * @return the dev_Statue
	 */
	public String getDev_Statue() {
		return Dev_Statue;
	}

	/**
	 * @param dev_Statue
	 *            the dev_Statue to set
	 */
	public void setDev_Statue(String dev_Statue) {
		Dev_Statue = dev_Statue;
	}

	/**
	 * @return the dev_IP
	 */
	public String getDev_IP() {
		return Dev_IP;
	}

	/**
	 * @param dev_IP
	 *            the dev_IP to set
	 */
	public void setDev_IP(String dev_IP) {
		Dev_IP = dev_IP;
	}

	/**
	 * @return the dev_Port
	 */
	public String getDev_Port() {
		return Dev_Port;
	}

	/**
	 * @param dev_Port
	 *            the dev_Port to set
	 */
	public void setDev_Port(String dev_Port) {
		Dev_Port = dev_Port;
	}

	/**
	 * @return the dev_MAC
	 */
	public String getDev_MAC() {
		return Dev_MAC;
	}

	/**
	 * @param dev_MAC
	 *            the dev_MAC to set
	 */
	public void setDev_MAC(String dev_MAC) {
		Dev_MAC = dev_MAC;
	}

	/**
	 * @return the dev_Version
	 */
	public String getDev_Version() {
		return Dev_Version;
	}

	/**
	 * @param dev_Version
	 *            the dev_Version to set
	 */
	public void setDev_Version(String dev_Version) {
		Dev_Version = dev_Version;
	}

	/**
	 * @return the dev_Upload
	 */
	public int getDev_Upload() {
		return Dev_Upload;
	}

	/**
	 * @param dev_Upload
	 *            the dev_Upload to set
	 */
	public void setDev_Upload(int dev_Upload) {
		Dev_Upload = dev_Upload;
	}

}
